package com.woniuxy.client;

import com.woniuxy.entity.ShopOrders;
import com.woniuxy.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "order-service", path = "/order")
public interface OrderServiceFeignClient {

    @PostMapping("/insert")
    ResponseResult<ShopOrders> insertOrderMedical(ShopOrders shopOrders);
}